<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:85:"/Applications/MAMP/htdocs/wifi/public/../application/admin/view/wechat/addwechat.html";i:1531990649;s:78:"/Applications/MAMP/htdocs/wifi/application/admin/view/common/login-layout.html";i:1531800487;s:72:"/Applications/MAMP/htdocs/wifi/application/admin/view/common/header.html";i:1531800487;s:72:"/Applications/MAMP/htdocs/wifi/application/admin/view/common/footer.html";i:1531800487;}*/ ?>
﻿<!DOCTYPE HTML>
<html>
    <head>
        <title><?=$seo['title']?$seo['title']:config('SITE_NAME')?></title>
        <meta charset="UTF-8">
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link href="/static/hui/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
        <link href="/static/hui/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
        <link href="/static/hui/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
        <link href="/static/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="/static/lib/jquery/1.9.1/jquery.min.js"></script> 
        <script type="text/javascript" src="/static/lib/layDate-v5.0.9/laydate/laydate.js"></script> 
        <link rel="Bookmark" href="<?=config('site_logo')?>" >
        <link rel="Shortcut Icon" href="<?=config('site_logo')?>" />
        <!--[if lt IE 9]>
        <script type="text/javascript" src="/lib/html5.js"></script>
        <script type="text/javascript" src="/lib/respond.min.js"></script>
        <![endif]-->
        <link rel="stylesheet" type="text/css" href="/static/hui/h-ui.admin/css/H-ui.admin.css" />
        <link rel="stylesheet" type="text/css" href="/static/hui/h-ui.admin/skin/default/skin.css" id="skin" />
        <!--[if IE 6]>
        <script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
        <script>DD_belatedPNG.fix('*');</script>
        <![endif]-->
        <!--/meta 作为公共模版分离出去-->
    </head>
    <body>



 <article class="cl pd-20">
    <form action="" method="post" class="form form-horizontal" id="form">
        <input type="hidden" class="input-text" value="<?php echo $data['id']; ?>" placeholder="" name="id">
        
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>微信appid</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['appid']; ?>" placeholder="" name="appid">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>微信appsecret</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['appsecret']; ?>" placeholder="" name="appsecret">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>公众号别名</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['wechat_name']; ?>" placeholder="" name="wechat_name">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>门店ID</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['shop_id']; ?>" placeholder="" name="shop_id">
                <span></span>
            </div>
        </div>

        <div class="row cl">
            <div class="formControls col-xs-10 col-sm-10" style="align-content: center">
                <input type="button" class="btn btn-warning radius"  value="-----------------------------------------------绑定联网成功跳转页面信息------------------------------------------------------">
                <span></span>
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>小程序原始id</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['wxa_user_name']; ?>" placeholder="绑定小程序原始app_id" name="wxa_user_name">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>小程序跳转路径</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['wxa_path']; ?>" placeholder="小程序跳转路径path" name="wxa_path">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>H5跳转页面</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['finishpage_url']; ?>" placeholder="连接完成后H5跳转页面" name="finishpage_url">
                <span></span>
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>跳转类型</label>
            <div class="formControls col-xs-10 col-sm-10">
                <div class="radio-box">
                    <?php if($data['finishpage_type'] == 0): ?>
                    <input type="radio" id="radio-2" name="finishpage_type" value="0" checked>
                    <label for="radio-2">跳转网页</label>
                    <input type="radio" id="radio-1" name="finishpage_type" value="1" >
                    <label for="radio-1">跳转小程序</label>
                    <?php else: ?>
                    <input type="radio" id="radio-2" name="finishpage_type" value="0">
                    <label for="radio-2">跳转网页</label>
                    <input type="radio" id="radio-1" name="finishpage_type" value="1" checked>
                    <label for="radio-1">跳转小程序</label>
                    <?php endif; ?>
                </div>
                <span></span>
            </div>
        </div>
      <!--   <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>可用设备</label>
            <div class="formControls col-xs-10 col-sm-10">
                <?php foreach($deviceList as $device): ?>
                <div class="check-box">
                    <input type="checkbox" name="device_id[]" value="<?php echo $device['device_id']; ?>"  id="<?php echo $device['device_id']; ?>" <?php if($device['appid']==$data['appid']){ echo 'checked';} ?>>
                    <label for="<?php echo $device['device_id']; ?>"><?php echo $device['device_id']; ?></label>
                </div>
                <?php endforeach; ?>
            </div>
        </div> -->

        <div class="row cl">
            <div class="col-xs-10 col-sm-10 col-xs-offset-2 col-sm-offset-2">
                <a onclick="PageFormSubmit()" class="btn btn-primary radius" >&nbsp;&nbsp;提交&nbsp;&nbsp;</a>
            </div>
        </div>
    </form>
</article>
<script>
</script>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/static/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/static/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/hui/h-ui/js/H-ui.js"></script> 
<script type="text/javascript" src="/static/hui/h-ui.admin/js/H-ui.admin.page.js"></script> 
<script type="text/javascript" src="/static/common.js"></script> 
</body>
</html>